package com.redis.redis_server.model;

import java.io.Serializable;

/**
 * @author xu
 * @date 2020/7/17
 * @desciption 测试类
 */
public class User implements Serializable {

    private static final long serialVersionUID = -8289770787953160443L;

    private Long  id;

    private String name;

    private String test;

    private String nata;

    private User(){


    }


    public User(Long id, String name, String test, String nata) {
        this.id = id;
        this.name = name;
        this.test = test;
        this.nata = nata;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTest() {
        return test;
    }

    public void setTest(String test) {
        this.test = test;
    }

    public String getNata() {
        return nata;
    }

    public void setNata(String nata) {
        this.nata = nata;
    }
}
